package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 账单管理对象 bill
 * 
 * @author szh
 * @date 2024-09-05
 */
public class Bill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 购买用户id */
    @Excel(name = "购买用户id")
    private String userId;

    /** 购买用户姓名 */
    @Excel(name = "购买用户姓名")
    private String userName;

    /** 购买商品id */
    @Excel(name = "购买商品id")
    private String goodsId;

    /** 购买商品名称 */
    @Excel(name = "购买商品名称")
    private String goodsName;

    /** 支付金额 */
    @Excel(name = "支付金额")
    private Long payMoney;

    /** 支付方式（微信支付，支付宝支付、银行卡支付） */
    @Excel(name = "支付方式", readConverterExp = "微=信支付，支付宝支付、银行卡支付")
    private String payMethods;

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setGoodsId(String goodsId) 
    {
        this.goodsId = goodsId;
    }

    public String getGoodsId() 
    {
        return goodsId;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setPayMoney(Long payMoney) 
    {
        this.payMoney = payMoney;
    }

    public Long getPayMoney() 
    {
        return payMoney;
    }
    public void setPayMethods(String payMethods) 
    {
        this.payMethods = payMethods;
    }

    public String getPayMethods() 
    {
        return payMethods;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("goodsId", getGoodsId())
            .append("goodsName", getGoodsName())
            .append("payMoney", getPayMoney())
            .append("payMethods", getPayMethods())
            .toString();
    }
}
